package com.kgis.fm.access.metadata.service.impl;

import java.util.List;

import com.kgis.fm.access.common.service.impl.AbstractExecutiveAccessServiceImpl;
import com.kgis.fm.access.metadata.constant.MetaCacheKeyConst;
import com.kgis.fm.access.metadata.service.FeatureComponentAccessService;
import com.kgis.fm.model.metadata.FeatureComponent;
import com.kgis.kp.cache.Cacheable;

/**
*
* @author zhxiaomiao
* @date 2011.12
*/
public class FeatureComponentAccessServiceImpl extends AbstractExecutiveAccessServiceImpl<FeatureComponent> implements FeatureComponentAccessService{

	@Cacheable(MetaCacheKeyConst.FEATURECOMPONENT)
	public List<FeatureComponent> findAll() {
		List<FeatureComponent> all = super.findAll();
		return all;
	}

	public FeatureComponent findById(long id) {
		throw new RuntimeException("unaccessible function, please ");
	}
	
	public List<FeatureComponent> findByIds(long[] ids) {
		return null;
	}

}
